package com.bz.controller;

import javax.validation.Valid;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bz.common.Codeenum;
import com.bz.common.ResponseDto;
import com.bz.entity.IntroduceEntity;
import com.bz.model.AboutUsDto;
import com.bz.service.IAboutUsService;

@RestController
@RequestMapping(value = "/api/about-us")
public class AboutUsController {

    @Autowired
    private IAboutUsService introduceService;

    @RequestMapping(value = "/info")
    public AboutUsDto list() {
        return introduceService.get();
    }

}
